package cn.itsource.domain;


import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import static com.baomidou.mybatisplus.enums.IdType.AUTO;

@TableName("t_permission")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Permission {
    @TableId(type = AUTO)
    private Long id;
    private String name;
    private String resource;
    private Integer state;
    private Long menuId;
    private String sn;


}
